﻿namespace EyeOpen.Data
{
    public static class DataHelper
    {
        public static T GetValue<T>(object value)
        {
            if (value == System.DBNull.Value)
            {
                return default(T);
            }
            else
            {
                return (T)value;
            }
        }
    }
}